package com.mwh.yuantu.parameter;

import io.swagger.v3.oas.annotations.media.Schema;
import io.swagger.v3.oas.annotations.tags.Tag;

import java.util.ArrayList;
import java.util.List;

@Tag(name = "分页参数", description = "分页参数")
public class PagingParameter {

	@Schema(example = "10", description = "每页条数")
	private String pageSize = "";

	@Schema(example = "1", description = "当前页数")
	private String currentPage = "";

	@Schema(title = "排序")
	private List<SearchSortParameter> sorts = new ArrayList<SearchSortParameter>();

	public String getPageSize() {
		return pageSize;
	}

	public void setPageSize(String pageSize) {
		this.pageSize = pageSize;
	}

	public String getCurrentPage() {
		return currentPage;
	}

	public void setCurrentPage(String currentPage) {
		this.currentPage = currentPage;
	}

	public List<SearchSortParameter> getSorts() {
		return sorts;
	}

	public void setSorts(List<SearchSortParameter> sorts) {
		this.sorts = sorts;
	}

}
